package com.woniu.product.mapper;

import com.woniu.common.dto.CouponStatusDTO;
import com.woniu.product.pojo.CouponStatus;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author ltyipx
* @description 针对表【coupon_status】的数据库操作Mapper
* @createDate 2024-08-06 14:17:02
* @Entity com.woniu.product.pojo.CouponStatus
*/
public interface CouponStatusMapper extends BaseMapper<CouponStatus> {

    CouponStatus ifHave(String couponId, String userId);

    CouponStatusDTO queryCouponById(String id);
}




